<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>管理收货地址</title>

    <!--公用css引用-->
    <?php include 'include/style.php';?>
    <!--END/公用css引用-->
    <link rel="stylesheet" href="../css/userCenter.css">
</head>
<body>

<!--公共头部-->
<?php include 'include/header.php';?>
<!--END/公共头部-->

<div class="inbox user-center">
    <div class="layout-margin unend">
        <div class="sidebar-end"></div>
        <div class="sidebar-start">
            <?php include 'include/leftnav.php';?>
        </div>

        <!--主体部分-->
        <div class="container">
            <div class="container-inner u-order">
                <div class="ui-brd-box1-">
                    <div class="tit-2 tit-skin-2">
                        <span class="h">优惠券</span>
                    </div>
                </div>

                <div class=" fn-mt10">

                    <div class="table-head fn-ohide">
                        <div class="order-type">
                            <ul class="link-list link-list-skin2">
                                <li class="cur"><a href="u-coupon.php"> 店铺券（1）</a></li>
                                <li><a href="u-coupon-goods.php"> 商品券（3）</a></li>
                                <li><a href="u-coupon-brand.php"> 品牌券（1）</a></li>
                            </ul>
                        </div>
                    </div>


                    <div id="coupon-list" class="coupon-list fn-cf">
                        <div class="coupon-box ui-cols-3 fn-fl">
                            <div class="coupon col">
                                <div class="coupon-upper">
                                    <p>
                                        <a class="price-symbol">¥</a>
                                        <a class="amount">10</a>
                                        <a class="scope">全店通用</a>
                                    </p>
                                    <p class="fn-mt10">
                                        <a class="params">发行店铺:</a>
                                        <a class="params-val" href="//store.taobao.com/shop/view_shop.htm?user_number_id=725677994" target="_blank" title="天猫超市">天猫超市</a>
                                    </p>
                                    <p>
                                        <a class="params">使用条件:</a>
                                        <a class="params-val">满88.00</a>
                                    </p>
                                    <p>
                                        <a class="params">有效时间:</a>
                                        <a class="params-val">2016.03.24&nbsp;至&nbsp;2016.04.30</a>
                                    </p>
                                </div>
                                <div class="coupon-md"></div>
                                <div class="coupon-lower fn-cf">
                                    <div class="sample">
                                        <a href="//item.taobao.com/item.htm?id=36222367569" target="_blank">
                                            <img src="//img.alicdn.com/bao/uploaded/i1/T1UmskFdtbXXXXXXXX_!!0-item_pic.jpg_80x80.jpg" title="【天猫超市】炎亭渔夫鱼豆腐豆干烧烤味15g零食品特产小吃">
                                        </a>
                                        <br>
                                        <a>2.50</a>
                                    </div>
                                    <div class="sample">
                                        <a href="//item.taobao.com/item.htm?id=15968993634" target="_blank">
                                            <img src="//img.alicdn.com/bao/uploaded/i2/TB1e6VYLXXXXXaVXXXXXXXXXXXX_!!0-item_pic.jpg_80x80.jpg" title="【天猫超市】清风 原木纯品2层150抽*4包软包抽取面纸巾">
                                        </a>
                                        <br>
                                        <a>19.90</a>
                                    </div>
                                    <div class="sample">
                                        <a href="//item.taobao.com/item.htm?id=20914419990" target="_blank">
                                            <img src="//img.alicdn.com/bao/uploaded/i3/T1Sh9kFb0dXXXXXXXX_!!0-item_pic.jpg_80x80.jpg" title="【天猫超市】两口子肉松饼干美食特产糕点喜饼零食早点心32g">
                                        </a>
                                        <br>
                                        <a>1.50</a>
                                    </div>
                                    <div class="icon icon-coupon-tip"></div>
                                </div>

                                <div class="coupon-box-bottom">
                                    <a class="shop" title="进入店铺" href="//store.taobao.com/shop/view_shop.htm?user_number_id=725677994" target="_blank">进入店铺</a>
                                    <a class="line">|</a>
                                    <a class="trash J_Delete" data-id="117205444236" title="删除优惠券">删除优惠券</a>
                                </div>
                            </div>

                            <div class="coupon col">
                                <div class="coupon-upper">
                                    <p>
                                        <a class="price-symbol">¥</a>
                                        <a class="amount">10</a>
                                        <a class="scope">全店通用</a>
                                    </p>
                                    <p class="fn-mt10">
                                        <a class="params">发行店铺:</a>
                                        <a class="params-val" href="//store.taobao.com/shop/view_shop.htm?user_number_id=725677994" target="_blank" title="天猫超市">天猫超市</a>
                                    </p>
                                    <p>
                                        <a class="params">使用条件:</a>
                                        <a class="params-val">满88.00</a>
                                    </p>
                                    <p>
                                        <a class="params">有效时间:</a>
                                        <a class="params-val">2016.03.24&nbsp;至&nbsp;2016.04.30</a>
                                    </p>
                                </div>
                                <div class="coupon-md"></div>
                                <div class="coupon-lower fn-cf">
                                    <div class="sample">
                                        <a href="//item.taobao.com/item.htm?id=36222367569" target="_blank">
                                            <img src="//img.alicdn.com/bao/uploaded/i1/T1UmskFdtbXXXXXXXX_!!0-item_pic.jpg_80x80.jpg" title="【天猫超市】炎亭渔夫鱼豆腐豆干烧烤味15g零食品特产小吃">
                                        </a>
                                        <br>
                                        <a>2.50</a>
                                    </div>
                                    <div class="sample">
                                        <a href="//item.taobao.com/item.htm?id=15968993634" target="_blank">
                                            <img src="//img.alicdn.com/bao/uploaded/i2/TB1e6VYLXXXXXaVXXXXXXXXXXXX_!!0-item_pic.jpg_80x80.jpg" title="【天猫超市】清风 原木纯品2层150抽*4包软包抽取面纸巾">
                                        </a>
                                        <br>
                                        <a>19.90</a>
                                    </div>
                                    <div class="sample">
                                        <a href="//item.taobao.com/item.htm?id=20914419990" target="_blank">
                                            <img src="//img.alicdn.com/bao/uploaded/i3/T1Sh9kFb0dXXXXXXXX_!!0-item_pic.jpg_80x80.jpg" title="【天猫超市】两口子肉松饼干美食特产糕点喜饼零食早点心32g">
                                        </a>
                                        <br>
                                        <a>1.50</a>
                                    </div>
                                </div>

                                <div class="coupon-box-bottom">
                                    <a class="shop" title="进入店铺" href="//store.taobao.com/shop/view_shop.htm?user_number_id=725677994" target="_blank">进入店铺</a>
                                    <a class="line">|</a>
                                    <a class="trash J_Delete" data-id="117205444236" title="删除优惠券">删除优惠券</a>
                                </div>
                            </div>

                            <div class="coupon col">
                                <div class="coupon-upper">
                                    <p>
                                        <a class="price-symbol">¥</a>
                                        <a class="amount">10</a>
                                        <a class="scope">全店通用</a>
                                    </p>
                                    <p class="fn-mt10">
                                        <a class="params">发行店铺:</a>
                                        <a class="params-val" href="//store.taobao.com/shop/view_shop.htm?user_number_id=725677994" target="_blank" title="天猫超市">天猫超市</a>
                                    </p>
                                    <p>
                                        <a class="params">使用条件:</a>
                                        <a class="params-val">满88.00</a>
                                    </p>
                                    <p>
                                        <a class="params">有效时间:</a>
                                        <a class="params-val">2016.03.24&nbsp;至&nbsp;2016.04.30</a>
                                    </p>
                                </div>
                                <div class="coupon-md"></div>
                                <div class="coupon-lower fn-cf">
                                    <div class="sample">
                                        <a href="//item.taobao.com/item.htm?id=36222367569" target="_blank">
                                            <img src="//img.alicdn.com/bao/uploaded/i1/T1UmskFdtbXXXXXXXX_!!0-item_pic.jpg_80x80.jpg" title="【天猫超市】炎亭渔夫鱼豆腐豆干烧烤味15g零食品特产小吃">
                                        </a>
                                        <br>
                                        <a>2.50</a>
                                    </div>
                                    <div class="sample">
                                        <a href="//item.taobao.com/item.htm?id=15968993634" target="_blank">
                                            <img src="//img.alicdn.com/bao/uploaded/i2/TB1e6VYLXXXXXaVXXXXXXXXXXXX_!!0-item_pic.jpg_80x80.jpg" title="【天猫超市】清风 原木纯品2层150抽*4包软包抽取面纸巾">
                                        </a>
                                        <br>
                                        <a>19.90</a>
                                    </div>
                                    <div class="sample">
                                        <a href="//item.taobao.com/item.htm?id=20914419990" target="_blank">
                                            <img src="//img.alicdn.com/bao/uploaded/i3/T1Sh9kFb0dXXXXXXXX_!!0-item_pic.jpg_80x80.jpg" title="【天猫超市】两口子肉松饼干美食特产糕点喜饼零食早点心32g">
                                        </a>
                                        <br>
                                        <a>1.50</a>
                                    </div>
                                </div>

                                <div class="coupon-box-bottom">
                                    <a class="shop" title="进入店铺" href="//store.taobao.com/shop/view_shop.htm?user_number_id=725677994" target="_blank">进入店铺</a>
                                    <a class="line">|</a>
                                    <a class="trash J_Delete" data-id="117205444236" title="删除优惠券">删除优惠券</a>
                                </div>
                            </div>

                            <div class="coupon col">
                                <div class="coupon-upper">
                                    <p>
                                        <a class="price-symbol">¥</a>
                                        <a class="amount">10</a>
                                        <a class="scope">全店通用</a>
                                    </p>
                                    <p class="fn-mt10">
                                        <a class="params">发行店铺:</a>
                                        <a class="params-val" href="//store.taobao.com/shop/view_shop.htm?user_number_id=725677994" target="_blank" title="天猫超市">天猫超市</a>
                                    </p>
                                    <p>
                                        <a class="params">使用条件:</a>
                                        <a class="params-val">满88.00</a>
                                    </p>
                                    <p>
                                        <a class="params">有效时间:</a>
                                        <a class="params-val">2016.03.24&nbsp;至&nbsp;2016.04.30</a>
                                    </p>
                                </div>
                                <div class="coupon-md"></div>
                                <div class="coupon-lower fn-cf">
                                    <div class="sample">
                                        <a href="//item.taobao.com/item.htm?id=36222367569" target="_blank">
                                            <img src="//img.alicdn.com/bao/uploaded/i1/T1UmskFdtbXXXXXXXX_!!0-item_pic.jpg_80x80.jpg" title="【天猫超市】炎亭渔夫鱼豆腐豆干烧烤味15g零食品特产小吃">
                                        </a>
                                        <br>
                                        <a>2.50</a>
                                    </div>
                                    <div class="sample">
                                        <a href="//item.taobao.com/item.htm?id=15968993634" target="_blank">
                                            <img src="//img.alicdn.com/bao/uploaded/i2/TB1e6VYLXXXXXaVXXXXXXXXXXXX_!!0-item_pic.jpg_80x80.jpg" title="【天猫超市】清风 原木纯品2层150抽*4包软包抽取面纸巾">
                                        </a>
                                        <br>
                                        <a>19.90</a>
                                    </div>
                                    <div class="sample">
                                        <a href="//item.taobao.com/item.htm?id=20914419990" target="_blank">
                                            <img src="//img.alicdn.com/bao/uploaded/i3/T1Sh9kFb0dXXXXXXXX_!!0-item_pic.jpg_80x80.jpg" title="【天猫超市】两口子肉松饼干美食特产糕点喜饼零食早点心32g">
                                        </a>
                                        <br>
                                        <a>1.50</a>
                                    </div>
                                </div>

                                <div class="coupon-box-bottom">
                                    <a class="shop" title="进入店铺" href="//store.taobao.com/shop/view_shop.htm?user_number_id=725677994" target="_blank">进入店铺</a>
                                    <a class="line">|</a>
                                    <a class="trash J_Delete" data-id="117205444236" title="删除优惠券">删除优惠券</a>
                                </div>
                            </div>

                            <div class="coupon col coupon-outTime">
                                <div class="coupon-upper">
                                    <p>
                                        <a class="price-symbol">¥</a>
                                        <a class="amount">10</a>
                                        <a class="scope">已过期</a>
                                    </p>
                                    <p class="fn-mt10">
                                        <a class="params">发行店铺:</a>
                                        <a class="params-val" href="//store.taobao.com/shop/view_shop.htm?user_number_id=725677994" target="_blank" title="天猫超市">天猫超市</a>
                                    </p>
                                    <p>
                                        <a class="params">使用条件:</a>
                                        <a class="params-val">满88.00</a>
                                    </p>
                                    <p>
                                        <a class="params">有效时间:</a>
                                        <a class="params-val">2016.03.24&nbsp;至&nbsp;2016.04.30</a>
                                    </p>
                                </div>
                                <div class="coupon-md"></div>
                                <div class="coupon-lower fn-cf">
                                    <div class="sample">
                                        <a href="//item.taobao.com/item.htm?id=36222367569" target="_blank">
                                            <img src="//img.alicdn.com/bao/uploaded/i1/T1UmskFdtbXXXXXXXX_!!0-item_pic.jpg_80x80.jpg" title="【天猫超市】炎亭渔夫鱼豆腐豆干烧烤味15g零食品特产小吃">
                                        </a>
                                        <br>
                                        <a>2.50</a>
                                    </div>
                                    <div class="sample">
                                        <a href="//item.taobao.com/item.htm?id=15968993634" target="_blank">
                                            <img src="//img.alicdn.com/bao/uploaded/i2/TB1e6VYLXXXXXaVXXXXXXXXXXXX_!!0-item_pic.jpg_80x80.jpg" title="【天猫超市】清风 原木纯品2层150抽*4包软包抽取面纸巾">
                                        </a>
                                        <br>
                                        <a>19.90</a>
                                    </div>
                                    <div class="sample">
                                        <a href="//item.taobao.com/item.htm?id=20914419990" target="_blank">
                                            <img src="//img.alicdn.com/bao/uploaded/i3/T1Sh9kFb0dXXXXXXXX_!!0-item_pic.jpg_80x80.jpg" title="【天猫超市】两口子肉松饼干美食特产糕点喜饼零食早点心32g">
                                        </a>
                                        <br>
                                        <a>1.50</a>
                                    </div>
                                </div>

                                <div class="coupon-box-bottom">
                                    <a class="shop" title="进入店铺" href="//store.taobao.com/shop/view_shop.htm?user_number_id=725677994" target="_blank">进入店铺</a>
                                    <a class="line">|</a>
                                    <a class="trash J_Delete" data-id="117205444236" title="删除优惠券">删除优惠券</a>
                                </div>
                            </div>

                        </div>
                    </div>

                </div>



            </div>

        </div>
        <!--END/主体部分-->

    </div>
</div>

<!--公共尾部-->
<?php include 'include/footer.php'; ?>
<!--END/公共尾部-->

<!--公用js引用-->
<?php include 'include/script.php'; ?>
<!--END/公用js引用-->

<script>
    //删除优惠券
    $('.J_Delete').click(function(){
        var that=$(this),id=that.data('id');
        var box=that.closest('.coupon');
        layer.confirm('确定要删除吗？',function(index){
            console.log('确定');
            //todo ajax 删除优惠券
            box.slideUp(function(){
                box.remove();
            });
            layer.close(index);
        });
    });
</script>
</body>
</html>